public class Film {
    private String name;
    private String director;
    private String mainCharacter;
    private String synopsis; //剧情简介
    private int length; //单位：min
    private int score; //0~10分 --- 可能会根据长期的播放情况动态变化
    private int basicPrice; //电影播放基础价格

    public Film(String name, String director, String mainCharacter,
                String synopsis, int length, int score, int basicPrice) {
        this.name = name;
        this.director = director;
        this.mainCharacter = mainCharacter;
        this.synopsis = synopsis;
        this.length = length;
        this.score = score;
        this.basicPrice = basicPrice;
    }

    //getter
    public String getName() {
        return name;
    }
    public String getDirector() {
        return director;
    }
    public String getMainCharacter() {
        return mainCharacter;
    }
    public String getSynopsis() {
        return synopsis;
    }
    public int getLength() {
        return length;
    }
    public int getScore() {
        return score;
    }
    public int getBasicPrice() {
        return basicPrice;
    }

    //setter
    public void setScore(int score) {
        this.score = score;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public void setMainCharacter(String mainCharacter) {
        this.mainCharacter = mainCharacter;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public void setBasicPrice(int basicPrice) {
        this.basicPrice = basicPrice;
    }
}
